home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
PROGBLER
/
ASMCODE.LZH
/
CONTENTS.DOC
< prev
next >
Wrap
Text File
|
1984-08-11
|
4KB
|
89 lines
11-AUG-1984 -
The following files are the assembly source program fragments.
NOTE: .OBJECT files are supplied for those without assemblers.
READCHAR ASM: Procedure to read a specified number of chars and
return them to a specified variable, it also takes
the maximum numbers to read, this is useful for use
during input screens, it prevents the user from going
over the field width and ruining the remainder of the
line for later fields. Used in MSBFILE (FILE.PAS).
LOCATE ASM: Procedure to set cursor position from Pascal;
Declare Procedure LOCATE (ROW,COL : integer);extern;
SETANSI ASM: From the DOS technical reference manual; A procedure
to communicate with ANSI.SYS for resetting keys.
This produces a nice .COM file, with an interesting
and informative way of using the LABEL pseudo-op.
RESPOND ASM: A short beep (same as REPLY) for link with Pascal
Programs, this procedure produces a nice response sound
when the program performs some action.
EXPAND ASM: Procedure for use from Pascal to expand the cursor to a
solid blinking rectangle filling the entire scan line
block, nice for enlarging the cursor for screen input.
Run PREVIEW to see an example.
CONTRACT ASM: Procedure to restore the cursor to its system size.
Declare both EXPAND and CONTRACT with:
PROCEDURE EXPAND;EXTERN; <NO PARMS>
PROCEDURE CONTRACT;EXTERN; <NO PARMS>
SETP ASM: Assembler program to set the IBM / EPSON graphics
for 11 inch paper, 66 Printed lines per page, and
do not ignore skip perforation. After 66 lines, the
paper will eject to TOF and printing resumes.
CANCEL ASM: Assembler program to cancel the settings that SETP
causes. The printer will respond as if it were powered
off and then reset. Ignore paper perforation is
enabled. And no default line skips are set, page set
at 11 inches.
FILE PAS: Pascal Program to manage a small data base type program
listing Name, address, phone, date of birth and related
information. It uses full screen input, and a well
written dynamically allocated linked list structure to
manage the file. The file is only actually modified
when the F option (file) is used, or you answer Y to the
A option (Abort) and the file is saved, or temporary
modifications will not be recorded.
MODULE PAS: The module to be linked with FILE.PAS -- It contains
supplementary code routines.
MSBFILE EXE: The executable image of FILE. There is no limit to the
number of files it can manage, however the NEW procedure
may fail if your system does not have sufficient memory.
Also, with very large files operation is noticably slow.
Keep your data files reasonable.
PREVIEW PAS: A Pascal utility to Preview a text file prior to its
printing. It informs as to the number of chars, lines,
pages, and words the file has in it. It assumes that
66 lines per page are used, change the global constant
to alter this. You MUST be patient when using this
program on a very large text file because it must read
each char in the file to keep the counts correct. It
accounts for page overflow on the page count. Blanks
are counted in the char count because they are printed.
No error will occur if used on a .HEX, .COM, .EXE or
.OBJ or similar file, but the counts will not be correct
but these files should not be routed to the printer
anyway.
PREVIEW EXE: The executable image of PREVIEW.PAS
For additional information - read the .DOC files named the same as the
source program for the assembler files, it documents how to use them.
Programs from: Stephen Leoce
201 Delaware Avenue
Kingston, New York 12401